const videoColumns = {
  view: [
    {
      title: '序号',
      dataIndex: 'index'
    },
    {
      title: '视频标题'
    },
    {
      title: '作者'
    },
    {
      title: '上传日期'
    },
    {
      title: '观看次数'
    },
    {
      title: '操作'
    }
  ],
  recording: [
    {
      title: '视频分类',
      dataIndex: 'class_title'
    },
    {
      title: '视频标题',
      dataIndex: 'title'
    },
    {
      title: '视频时长',
      dataIndex: 'video_time',
      scopedSlots: {
        customRender: 'video_time'
      },
      sorter: true
    },
    {
      title: '培训进度',
      dataIndex: 'logs',
      scopedSlots: { customRender: 'logs' }
    }
  ],
  lately: [
    {
      title: '序号',
      dataIndex: 'index',
      scopedSlots: { customRender: 'index' }
    },
    {
      title: '视频标题',
      dataIndex: 'title'
    },
    {
      title: '作者',
      dataIndex: 'author'
    },
    {
      title: '课件时长',
      dataIndex: 'video_time'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  most: [
    {
      title: '序号',
      dataIndex: 'index',
      scopedSlots: { customRender: 'index' }
    },
    {
      title: '视频标题',
      dataIndex: 'title'
    },
    {
      title: '作者',
      dataIndex: 'author'
    },
    {
      title: '课件时长',
      dataIndex: 'video_time'
    },
    {
      title: '播放次数',
      dataIndex: 'playnum'
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  all: [
    {
      title: '序号',
      dataIndex: 'index',
      scopedSlots: { customRender: 'index' }
    },
    {
      title: '视频标题',
      dataIndex: 'title'
    },
    {
      title: '作者',
      dataIndex: 'author'
    },
    {
      title: '课件时长',
      dataIndex: 'video_time'
    },
    {
      title: '观看次数',
      dataIndex: 'logs',
      scopedSlots: { customRender: 'logs' }
    },
    {
      title: '操作',
      dataIndex: 'action',
      scopedSlots: { customRender: 'action' }
    }
  ],
  log: [
    {
      title: '序号',
      dataIndex: 'index',
      scopedSlots: { customRender: 'index' }
    },
    {
      title: '视频分类',
      dataIndex: 'class_title'
    },
    {
      title: '视频标题',
      dataIndex: 'title'
    },
    {
      title: '播放时长',
      dataIndex: 'playtime',
      scopedSlots: { customRender: 'playtime' }
    }
  ],
  listColumns: [
    {
      title: '业务大类',
      dataIndex: 'parent_category_name'
    },
    {
      title: '业务小类',
      dataIndex: 'category_name'
    },
    {
      title: '问题标题',
      dataIndex: 'title',
      scopedSlots: { customRender: 'q_title' }
    },
    {
      title: '发布时间',
      dataIndex: 'create_time'
    },
    {
      title: '浏览次数',
      dataIndex: 'view'
    }
  ]
}

export default videoColumns
